package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.SysUserGetMachineRecords;
import org.dromara.system.domain.bo.SysUserGetMachineRecordsBo;
import org.dromara.system.domain.vo.SysUserGetMachineRecordsVo;

import java.util.List;

/**
 * 领取机具记录Mapper接口
 *
 * @author Lion Li
 * @date 2025-07-24
 */
public interface SysUserGetMachineRecordsMapper extends BaseMapperPlus<SysUserGetMachineRecords, SysUserGetMachineRecordsVo> {

    IPage<SysUserGetMachineRecordsVo> findAll(IPage<SysUserGetMachineRecordsVo> page, @Param("query") SysUserGetMachineRecordsBo bo);

    Integer findUserGetMachine(@Param("query") List<Long> userIds);

}
